<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>关注公众号</title>
    <link href="__STATIC_URL__/static/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="__STATIC_URL__/static/jquery/2.2.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>
<div>
   <img src="__STATIC_URL__/static/images/guanzhu.jpg"/>
    <p>长按识别关注公众号</p>
</div>
<script type="text/javascript">
$(function () {
    $('.btn').click(function () {
        $.ajax({
            type: 'post',
            url: "{:url('Login/query_code_bangding')}",
            //dataType:"json",
            success: function (data) {
                if(data.code==0){
                    alert(data.message);
                }else{
                    alert(data.message);
                }

            }
        })
    })
    
})
    
</script>

</body>
</html>